package com.zitangkou.user.domain;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zitangkou.common.enums.StatusEnum;

/**
 * @author Deng Ningning
 * @version 1.0
 * @date 2020/11/13 21:58
 */
public interface IRoleDomainService {

    /**
     * 分页条件查询用户角色
     *
     * @param current
     * @param size
     * @param keyword
     * @param status
     * @return com.baomidou.mybatisplus.core.metadata.IPage<com.zitangkou.user.model.domain.RoleDomain>
     * @date 2021/2/27 14:50
     */
    IPage<RoleDomain> selectPageByConditions(Integer current, Integer size, String keyword, StatusEnum status);

    /**
     * 根据编号查询角色
     *
     * @param roleId
     * @return com.zitangkou.user.model.domain.RoleDomain
     * @date 2021/2/27 9:38
     */
    RoleDomain getRoleById(String roleId);
}
